Day 4: Managing Kernel Modules

Firmware

Identify with:
uname


Kernel Layers

What function is associated with the SCI layer of the kernel?

What are the major functions performed by the kernel?

Describe user space

Disadvantage of a monolithic kernel

/usr/lib/modules - Contains modules for different kernel versions

Module Management Commands:

modprobe - Add or remove modules from kernel. Will load any dependencies as well.
- preferred over insmod and rmmod

/etc/modprobe.d OR /etc/modprobe.conf - Config file containing settings applied to all modules loaded on the system.

Create Blacklist for Bluetooth:

Kernel Parameters

/proc/sys - Lists parameters that can be configured

sysctl - used to view or set TEMPORARY kernel parameters at runtime

To set permanent kernel parameters: /etc/sysctl.conf

Monitor Kernel Modules

/proc/ - VFS (Virutal File System) that holds information about the kernel's running processes.
/proc/version - Information on Linux kernel

dmesg - Displays info sent to kernel buffer